# $Id: PKGBUILD 176851 2013-02-01 14:39:29Z bisson $
# Contributor: damir <damir@archlinux.org>
# Contributor: whisky <archlinux.cle(at)gmail.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=libchewing
pkgver=0.3.4
pkgrel=1
pkgdesc='Intelligent Zhuyin input method library for traditional Chinese'
arch=('i686' 'x86_64')
url='http://chewing.csie.net/'
license=('GPL')
options=('!libtool')
source=("http://chewing.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('631a613df00409b51adebb8b2dc33c5e6a006834')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --disable-static
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}
